package com.lh.api.impl;

import com.lh.api.Demo;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author: linghao
 * @since: 2022/6/20
 */
@DubboService(interfaceClass = Demo.class)
public class HelloDemoImpl implements Demo {

    @Override
    public String helloDemo(String name) {
        return "hello"+name;
    }

    @Override
    public String sentinelDemo(String test) {
        return "sentinel "+test;
    }
}
